// Copyright notice
// ================
//
// Copyright (C) 2010
//     Lorenzo Martignoni <martignlo@gmail.com>
//     Roberto Paleari <roberto.paleari@gmail.com>
//
// This program is free software; you can redistribute it and/or modify it under
// the terms of the GNU General Public License as published by the Free Software
// Foundation; either version 3 of the License, or (at your option) any later
// version.  
//
// This program is distributed in the hope that it will be useful, but WITHOUT
// ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
// FOR A PARTICULAR PURPOSE.  See the GNU General Public License for more
// details.
//
// You should have received a copy of the GNU General Public License along with
// this program; if not, write to the Free Software Foundation, Inc., 51
// Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

#ifndef MagicStatus
#define MagicStatus(x, y)
#else
MagicStatus("SUCCESS", 0x00000000);
MagicStatus("SEVERITY SUCCESS", 0x00000000);
MagicStatus("SEVERITY INFORMATIONAL", 0x00000001);
MagicStatus("SEVERITY WARNING", 0x00000002);
MagicStatus("SEVERITY ERROR", 0x00000003);
MagicStatus("WAIT 0", 0x00000000);
MagicStatus("WAIT 1", 0x00000001);
MagicStatus("WAIT 2", 0x00000002);
MagicStatus("WAIT 3", 0x00000003);
MagicStatus("WAIT 63", 0x0000003f);
MagicStatus("ABANDONED", 0x00000080);
MagicStatus("ABANDONED WAIT 0", 0x00000080);
MagicStatus("ABANDONED WAIT 63", 0x000000BF);
MagicStatus("USER APC", 0x000000C0);
MagicStatus("KERNEL APC", 0x00000100);
MagicStatus("ALERTED", 0x00000101);
MagicStatus("TIMEOUT", 0x00000102);
MagicStatus("PENDING", 0x00000103);
MagicStatus("REPARSE", 0x00000104);
MagicStatus("MORE ENTRIES", 0x00000105);
MagicStatus("NOT ALL ASSIGNED", 0x00000106);
MagicStatus("SOME NOT MAPPED", 0x00000107);
MagicStatus("OPLOCK BREAK IN PROGRESS", 0x00000108);
MagicStatus("VOLUME MOUNTED", 0x00000109);
MagicStatus("RXACT COMMITTED", 0x0000010A);
MagicStatus("NOTIFY CLEANUP", 0x0000010B);
MagicStatus("NOTIFY ENUM DIR", 0x0000010C);
MagicStatus("NO QUOTAS FOR ACCOUNT", 0x0000010D);
MagicStatus("PRIMARY TRANSPORT CONNECT FAILED", 0x0000010E);
MagicStatus("PAGE FAULT TRANSITION", 0x00000110);
MagicStatus("PAGE FAULT DEMAND ZERO", 0x00000111);
MagicStatus("PAGE FAULT COPY ON WRITE", 0x00000112);
MagicStatus("PAGE FAULT GUARD PAGE", 0x00000113);
MagicStatus("PAGE FAULT PAGING FILE", 0x00000114);
MagicStatus("CACHE PAGE LOCKED", 0x00000115);
MagicStatus("CRASH DUMP", 0x00000116);
MagicStatus("BUFFER ALL ZEROS", 0x00000117);
MagicStatus("REPARSE OBJECT", 0x00000118);
MagicStatus("RESOURCE REQUIREMENTS CHANGED", 0x00000119);
MagicStatus("TRANSLATION COMPLETE", 0x00000120);
MagicStatus("DS MEMBERSHIP EVALUATED LOCALLY", 0x00000121);
MagicStatus("NOTHING TO TERMINATE", 0x00000122);
MagicStatus("PROCESS NOT IN JOB", 0x00000123);
MagicStatus("PROCESS IN JOB", 0x00000124);
MagicStatus("VOLSNAP HIBERNATE READY", 0x00000125);
MagicStatus("FSFILTER OP COMPLETED SUCCESSFULLY", 0x00000126);
MagicStatus("OBJECT NAME EXISTS", 0x40000000);
MagicStatus("THREAD WAS SUSPENDED", 0x40000001);
MagicStatus("WORKING SET LIMIT RANGE", 0x40000002);
MagicStatus("IMAGE NOT AT BASE", 0x40000003);
MagicStatus("RXACT STATE CREATED", 0x40000004);
MagicStatus("SEGMENT NOTIFICATION", 0x40000005);
MagicStatus("LOCAL USER SESSION KEY", 0x40000006);
MagicStatus("BAD CURRENT DIRECTORY", 0x40000007);
MagicStatus("SERIAL MORE WRITES", 0x40000008);
MagicStatus("REGISTRY RECOVERED", 0x40000009);
MagicStatus("FT READ RECOVERY FROM BACKUP", 0x4000000A);
MagicStatus("FT WRITE RECOVERY", 0x4000000B);
MagicStatus("SERIAL COUNTER TIMEOUT", 0x4000000C);
MagicStatus("NULL LM PASSWORD", 0x4000000D);
MagicStatus("IMAGE MACHINE TYPE MISMATCH", 0x4000000E);
MagicStatus("RECEIVE PARTIAL", 0x4000000F);
MagicStatus("RECEIVE EXPEDITED", 0x40000010);
MagicStatus("RECEIVE PARTIAL EXPEDITED", 0x40000011);
MagicStatus("EVENT DONE", 0x40000012);
MagicStatus("EVENT PENDING", 0x40000013);
MagicStatus("CHECKING FILE SYSTEM", 0x40000014);
MagicStatus("FATAL APP EXIT", 0x40000015);
MagicStatus("PREDEFINED HANDLE", 0x40000016);
MagicStatus("WAS UNLOCKED", 0x40000017);
MagicStatus("SERVICE NOTIFICATION", 0x40000018);
MagicStatus("WAS LOCKED", 0x40000019);
MagicStatus("LOG HARD ERROR", 0x4000001A);
MagicStatus("ALREADY WIN32", 0x4000001B);
MagicStatus("WX86 UNSIMULATE", 0x4000001C);
MagicStatus("WX86 CONTINUE", 0x4000001D);
MagicStatus("WX86 SINGLE STEP", 0x4000001E);
MagicStatus("WX86 BREAKPOINT", 0x4000001F);
MagicStatus("WX86 EXCEPTION CONTINUE", 0x40000020);
MagicStatus("WX86 EXCEPTION LASTCHANCE", 0x40000021);
MagicStatus("WX86 EXCEPTION CHAIN", 0x40000022);
MagicStatus("IMAGE MACHINE TYPE MISMATCH EXE", 0x40000023);
MagicStatus("NO YIELD PERFORMED", 0x40000024);
MagicStatus("TIMER RESUME IGNORED", 0x40000025);
MagicStatus("ARBITRATION UNHANDLED", 0x40000026);
MagicStatus("CARDBUS NOT SUPPORTED", 0x40000027);
MagicStatus("WX86 CREATEWX86TIB", 0x40000028);
MagicStatus("MP PROCESSOR MISMATCH", 0x40000029);
MagicStatus("HIBERNATED", 0x4000002A);
MagicStatus("RESUME HIBERNATION", 0x4000002B);
MagicStatus("FIRMWARE UPDATED", 0x4000002C);
MagicStatus("WAKE SYSTEM", 0x40000294);
MagicStatus("DS SHUTTING DOWN", 0x40000370);
MagicStatus("CTX CDM CONNECT", 0x400A0004);
MagicStatus("CTX CDM DISCONNECT", 0x400A0005);
MagicStatus("SXS RELEASE ACTIVATION CONTEXT", 0x4015000D);
MagicStatus("GUARD PAGE VIOLATION", 0x80000001);
MagicStatus("DATATYPE MISALIGNMENT", 0x80000002);
MagicStatus("BREAKPOINT", 0x80000003);
MagicStatus("SINGLE STEP", 0x80000004);
MagicStatus("BUFFER OVERFLOW", 0x80000005);
MagicStatus("NO MORE FILES", 0x80000006);
MagicStatus("WAKE SYSTEM DEBUGGER", 0x80000007);
MagicStatus("HANDLES CLOSED", 0x8000000A);
MagicStatus("NO INHERITANCE", 0x8000000B);
MagicStatus("GUID SUBSTITUTION MADE", 0x8000000C);
MagicStatus("PARTIAL COPY", 0x8000000D);
MagicStatus("DEVICE PAPER EMPTY", 0x8000000E);
MagicStatus("DEVICE POWERED OFF", 0x8000000F);
MagicStatus("DEVICE OFF LINE", 0x80000010);
MagicStatus("DEVICE BUSY", 0x80000011);
MagicStatus("NO MORE EAS", 0x80000012);
MagicStatus("INVALID EA NAME", 0x80000013);
MagicStatus("EA LIST INCONSISTENT", 0x80000014);
MagicStatus("INVALID EA FLAG", 0x80000015);
MagicStatus("VERIFY REQUIRED", 0x80000016);
MagicStatus("EXTRANEOUS INFORMATION", 0x80000017);
MagicStatus("RXACT COMMIT NECESSARY", 0x80000018);
MagicStatus("NO MORE ENTRIES", 0x8000001A);
MagicStatus("FILEMARK DETECTED", 0x8000001B);
MagicStatus("MEDIA CHANGED", 0x8000001C);
MagicStatus("BUS RESET", 0x8000001D);
MagicStatus("END OF MEDIA", 0x8000001E);
MagicStatus("BEGINNING OF MEDIA", 0x8000001F);
MagicStatus("MEDIA CHECK", 0x80000020);
MagicStatus("SETMARK DETECTED", 0x80000021);
MagicStatus("NO DATA DETECTED", 0x80000022);
MagicStatus("REDIRECTOR HAS OPEN HANDLES", 0x80000023);
MagicStatus("SERVER HAS OPEN HANDLES", 0x80000024);
MagicStatus("ALREADY DISCONNECTED", 0x80000025);
MagicStatus("LONGJUMP", 0x80000026);
MagicStatus("CLEANER CARTRIDGE INSTALLED", 0x80000027);
MagicStatus("PLUGPLAY QUERY VETOED", 0x80000028);
MagicStatus("UNWIND CONSOLIDATE", 0x80000029);
MagicStatus("REGISTRY HIVE RECOVERED", 0x8000002A);
MagicStatus("DLL MIGHT BE INSECURE", 0x8000002B);
MagicStatus("DLL MIGHT BE INCOMPATIBLE", 0x8000002C);
MagicStatus("DEVICE REQUIRES CLEANING", 0x80000288);
MagicStatus("DEVICE DOOR OPEN", 0x80000289);
MagicStatus("CLUSTER NODE ALREADY UP", 0x80130001);
MagicStatus("CLUSTER NODE ALREADY DOWN", 0x80130002);
MagicStatus("CLUSTER NETWORK ALREADY ONLINE", 0x80130003);
MagicStatus("CLUSTER NETWORK ALREADY OFFLINE", 0x80130004);
MagicStatus("CLUSTER NODE ALREADY MEMBER", 0x80130005);
MagicStatus("UNSUCCESSFUL", 0xC0000001);
MagicStatus("NOT IMPLEMENTED", 0xC0000002);
MagicStatus("INVALID INFO CLASS", 0xC0000003);
MagicStatus("INFO LENGTH MISMATCH", 0xC0000004);
MagicStatus("ACCESS VIOLATION", 0xC0000005);
MagicStatus("IN PAGE ERROR", 0xC0000006);
MagicStatus("PAGEFILE QUOTA", 0xC0000007);
MagicStatus("INVALID HANDLE", 0xC0000008);
MagicStatus("BAD INITIAL STACK", 0xC0000009);
MagicStatus("BAD INITIAL PC", 0xC000000A);
MagicStatus("INVALID CID", 0xC000000B);
MagicStatus("TIMER NOT CANCELED", 0xC000000C);
MagicStatus("INVALID PARAMETER", 0xC000000D);
MagicStatus("NO SUCH DEVICE", 0xC000000E);
MagicStatus("NO SUCH FILE", 0xC000000F);
MagicStatus("INVALID DEVICE REQUEST", 0xC0000010);
MagicStatus("END OF FILE", 0xC0000011);
MagicStatus("WRONG VOLUME", 0xC0000012);
MagicStatus("NO MEDIA IN DEVICE", 0xC0000013);
MagicStatus("UNRECOGNIZED MEDIA", 0xC0000014);
MagicStatus("NONEXISTENT SECTOR", 0xC0000015);
MagicStatus("MORE PROCESSING REQUIRED", 0xC0000016);
MagicStatus("NO MEMORY", 0xC0000017);
MagicStatus("CONFLICTING ADDRESSES", 0xC0000018);
MagicStatus("NOT MAPPED VIEW", 0xC0000019);
MagicStatus("UNABLE TO FREE VM", 0xC000001A);
MagicStatus("UNABLE TO DELETE SECTION", 0xC000001B);
MagicStatus("INVALID SYSTEM SERVICE", 0xC000001C);
MagicStatus("ILLEGAL INSTRUCTION", 0xC000001D);
MagicStatus("INVALID LOCK SEQUENCE", 0xC000001E);
MagicStatus("INVALID VIEW SIZE", 0xC000001F);
MagicStatus("INVALID FILE FOR SECTION", 0xC0000020);
MagicStatus("ALREADY COMMITTED", 0xC0000021);
MagicStatus("ACCESS DENIED", 0xC0000022);
MagicStatus("BUFFER TOO SMALL", 0xC0000023);
MagicStatus("OBJECT TYPE MISMATCH", 0xC0000024);
MagicStatus("NONCONTINUABLE EXCEPTION", 0xC0000025);
MagicStatus("INVALID DISPOSITION", 0xC0000026);
MagicStatus("UNWIND", 0xC0000027);
MagicStatus("BAD STACK", 0xC0000028);
MagicStatus("INVALID UNWIND TARGET", 0xC0000029);
MagicStatus("NOT LOCKED", 0xC000002A);
MagicStatus("PARITY ERROR", 0xC000002B);
MagicStatus("UNABLE TO DECOMMIT VM", 0xC000002C);
MagicStatus("NOT COMMITTED", 0xC000002D);
MagicStatus("INVALID PORT ATTRIBUTES", 0xC000002E);
MagicStatus("PORT MESSAGE TOO LONG", 0xC000002F);
MagicStatus("INVALID PARAMETER MIX", 0xC0000030);
MagicStatus("INVALID QUOTA LOWER", 0xC0000031);
MagicStatus("DISK CORRUPT ERROR", 0xC0000032);
MagicStatus("OBJECT NAME INVALID", 0xC0000033);
MagicStatus("OBJECT NAME NOT FOUND", 0xC0000034);
MagicStatus("OBJECT NAME COLLISION", 0xC0000035);
MagicStatus("PORT DISCONNECTED", 0xC0000037);
MagicStatus("DEVICE ALREADY ATTACHED", 0xC0000038);
MagicStatus("OBJECT PATH INVALID", 0xC0000039);
MagicStatus("OBJECT PATH NOT FOUND", 0xC000003A);
MagicStatus("OBJECT PATH SYNTAX BAD", 0xC000003B);
MagicStatus("DATA OVERRUN", 0xC000003C);
MagicStatus("DATA LATE ERROR", 0xC000003D);
MagicStatus("DATA ERROR", 0xC000003E);
MagicStatus("CRC ERROR", 0xC000003F);
MagicStatus("SECTION TOO BIG", 0xC0000040);
MagicStatus("PORT CONNECTION REFUSED", 0xC0000041);
MagicStatus("INVALID PORT HANDLE", 0xC0000042);
MagicStatus("SHARING VIOLATION", 0xC0000043);
MagicStatus("QUOTA EXCEEDED", 0xC0000044);
MagicStatus("INVALID PAGE PROTECTION", 0xC0000045);
MagicStatus("MUTANT NOT OWNED", 0xC0000046);
MagicStatus("SEMAPHORE LIMIT EXCEEDED", 0xC0000047);
MagicStatus("PORT ALREADY SET", 0xC0000048);
MagicStatus("SECTION NOT IMAGE", 0xC0000049);
MagicStatus("SUSPEND COUNT EXCEEDED", 0xC000004A);
MagicStatus("THREAD IS TERMINATING", 0xC000004B);
MagicStatus("BAD WORKING SET LIMIT", 0xC000004C);
MagicStatus("INCOMPATIBLE FILE MAP", 0xC000004D);
MagicStatus("SECTION PROTECTION", 0xC000004E);
MagicStatus("EAS NOT SUPPORTED", 0xC000004F);
MagicStatus("EA TOO LARGE", 0xC0000050);
MagicStatus("NONEXISTENT EA ENTRY", 0xC0000051);
MagicStatus("NO EAS ON FILE", 0xC0000052);
MagicStatus("EA CORRUPT ERROR", 0xC0000053);
MagicStatus("FILE LOCK CONFLICT", 0xC0000054);
MagicStatus("LOCK NOT GRANTED", 0xC0000055);
MagicStatus("DELETE PENDING", 0xC0000056);
MagicStatus("CTL FILE NOT SUPPORTED", 0xC0000057);
MagicStatus("UNKNOWN REVISION", 0xC0000058);
MagicStatus("REVISION MISMATCH", 0xC0000059);
MagicStatus("INVALID OWNER", 0xC000005A);
MagicStatus("INVALID PRIMARY GROUP", 0xC000005B);
MagicStatus("NO IMPERSONATION TOKEN", 0xC000005C);
MagicStatus("CANT DISABLE MANDATORY", 0xC000005D);
MagicStatus("NO LOGON SERVERS", 0xC000005E);
MagicStatus("NO SUCH LOGON SESSION", 0xC000005F);
MagicStatus("NO SUCH PRIVILEGE", 0xC0000060);
MagicStatus("PRIVILEGE NOT HELD", 0xC0000061);
MagicStatus("INVALID ACCOUNT NAME", 0xC0000062);
MagicStatus("USER EXISTS", 0xC0000063);
MagicStatus("NO SUCH USER", 0xC0000064);
MagicStatus("GROUP EXISTS", 0xC0000065);
MagicStatus("NO SUCH GROUP", 0xC0000066);
MagicStatus("MEMBER IN GROUP", 0xC0000067);
MagicStatus("MEMBER NOT IN GROUP", 0xC0000068);
MagicStatus("LAST ADMIN", 0xC0000069);
MagicStatus("WRONG PASSWORD", 0xC000006A);
MagicStatus("ILL FORMED PASSWORD", 0xC000006B);
MagicStatus("PASSWORD RESTRICTION", 0xC000006C);
MagicStatus("LOGON FAILURE", 0xC000006D);
MagicStatus("ACCOUNT RESTRICTION", 0xC000006E);
MagicStatus("INVALID LOGON HOURS", 0xC000006F);
MagicStatus("INVALID WORKSTATION", 0xC0000070);
MagicStatus("PASSWORD EXPIRED", 0xC0000071);
MagicStatus("ACCOUNT DISABLED", 0xC0000072);
MagicStatus("NONE MAPPED", 0xC0000073);
MagicStatus("TOO MANY LUIDS REQUESTED", 0xC0000074);
MagicStatus("LUIDS EXHAUSTED", 0xC0000075);
MagicStatus("INVALID SUB AUTHORITY", 0xC0000076);
MagicStatus("INVALID ACL", 0xC0000077);
MagicStatus("INVALID SID", 0xC0000078);
MagicStatus("INVALID SECURITY DESCR", 0xC0000079);
MagicStatus("PROCEDURE NOT FOUND", 0xC000007A);
MagicStatus("INVALID IMAGE FORMAT", 0xC000007B);
MagicStatus("NO TOKEN", 0xC000007C);
MagicStatus("BAD INHERITANCE ACL", 0xC000007D);
MagicStatus("RANGE NOT LOCKED", 0xC000007E);
MagicStatus("DISK FULL", 0xC000007F);
MagicStatus("SERVER DISABLED", 0xC0000080);
MagicStatus("SERVER NOT DISABLED", 0xC0000081);
MagicStatus("TOO MANY GUIDS REQUESTED", 0xC0000082);
MagicStatus("GUIDS EXHAUSTED", 0xC0000083);
MagicStatus("INVALID ID AUTHORITY", 0xC0000084);
MagicStatus("AGENTS EXHAUSTED", 0xC0000085);
MagicStatus("INVALID VOLUME LABEL", 0xC0000086);
MagicStatus("SECTION NOT EXTENDED", 0xC0000087);
MagicStatus("NOT MAPPED DATA", 0xC0000088);
MagicStatus("RESOURCE DATA NOT FOUND", 0xC0000089);
MagicStatus("RESOURCE TYPE NOT FOUND", 0xC000008A);
MagicStatus("RESOURCE NAME NOT FOUND", 0xC000008B);
MagicStatus("ARRAY BOUNDS EXCEEDED", 0xC000008C);
MagicStatus("FLOAT DENORMAL OPERAND", 0xC000008D);
MagicStatus("FLOAT DIVIDE BY ZERO", 0xC000008E);
MagicStatus("FLOAT INEXACT RESULT", 0xC000008F);
MagicStatus("FLOAT INVALID OPERATION", 0xC0000090);
MagicStatus("FLOAT OVERFLOW", 0xC0000091);
MagicStatus("FLOAT STACK CHECK", 0xC0000092);
MagicStatus("FLOAT UNDERFLOW", 0xC0000093);
MagicStatus("INTEGER DIVIDE BY ZERO", 0xC0000094);
MagicStatus("INTEGER OVERFLOW", 0xC0000095);
MagicStatus("PRIVILEGED INSTRUCTION", 0xC0000096);
MagicStatus("TOO MANY PAGING FILES", 0xC0000097);
MagicStatus("FILE INVALID", 0xC0000098);
MagicStatus("ALLOTTED SPACE EXCEEDED", 0xC0000099);
MagicStatus("INSUFFICIENT RESOURCES", 0xC000009A);
MagicStatus("DFS EXIT PATH FOUND", 0xC000009B);
MagicStatus("DEVICE DATA ERROR", 0xC000009C);
MagicStatus("DEVICE NOT CONNECTED", 0xC000009D);
MagicStatus("DEVICE POWER FAILURE", 0xC000009E);
MagicStatus("FREE VM NOT AT BASE", 0xC000009F);
MagicStatus("MEMORY NOT ALLOCATED", 0xC00000A0);
MagicStatus("WORKING SET QUOTA", 0xC00000A1);
MagicStatus("MEDIA WRITE PROTECTED", 0xC00000A2);
MagicStatus("DEVICE NOT READY", 0xC00000A3);
MagicStatus("INVALID GROUP ATTRIBUTES", 0xC00000A4);
MagicStatus("BAD IMPERSONATION LEVEL", 0xC00000A5);
MagicStatus("CANT OPEN ANONYMOUS", 0xC00000A6);
MagicStatus("BAD VALIDATION CLASS", 0xC00000A7);
MagicStatus("BAD TOKEN TYPE", 0xC00000A8);
MagicStatus("BAD MASTER BOOT RECORD", 0xC00000A9);
MagicStatus("INSTRUCTION MISALIGNMENT", 0xC00000AA);
MagicStatus("INSTANCE NOT AVAILABLE", 0xC00000AB);
MagicStatus("PIPE NOT AVAILABLE", 0xC00000AC);
MagicStatus("INVALID PIPE STATE", 0xC00000AD);
MagicStatus("PIPE BUSY", 0xC00000AE);
MagicStatus("ILLEGAL FUNCTION", 0xC00000AF);
MagicStatus("PIPE DISCONNECTED", 0xC00000B0);
MagicStatus("PIPE CLOSING", 0xC00000B1);
MagicStatus("PIPE CONNECTED", 0xC00000B2);
MagicStatus("PIPE LISTENING", 0xC00000B3);
MagicStatus("INVALID READ MODE", 0xC00000B4);
MagicStatus("IO TIMEOUT", 0xC00000B5);
MagicStatus("FILE FORCED CLOSED", 0xC00000B6);
MagicStatus("PROFILING NOT STARTED", 0xC00000B7);
MagicStatus("PROFILING NOT STOPPED", 0xC00000B8);
MagicStatus("COULD NOT INTERPRET", 0xC00000B9);
MagicStatus("FILE IS A DIRECTORY", 0xC00000BA);
MagicStatus("NOT SUPPORTED", 0xC00000BB);
MagicStatus("REMOTE NOT LISTENING", 0xC00000BC);
MagicStatus("DUPLICATE NAME", 0xC00000BD);
MagicStatus("BAD NETWORK PATH", 0xC00000BE);
MagicStatus("NETWORK BUSY", 0xC00000BF);
MagicStatus("DEVICE DOES NOT EXIST", 0xC00000C0);
MagicStatus("TOO MANY COMMANDS", 0xC00000C1);
MagicStatus("ADAPTER HARDWARE ERROR", 0xC00000C2);
MagicStatus("INVALID NETWORK RESPONSE", 0xC00000C3);
MagicStatus("UNEXPECTED NETWORK ERROR", 0xC00000C4);
MagicStatus("BAD REMOTE ADAPTER", 0xC00000C5);
MagicStatus("PRINT QUEUE FULL", 0xC00000C6);
MagicStatus("NO SPOOL SPACE", 0xC00000C7);
MagicStatus("PRINT CANCELLED", 0xC00000C8);
MagicStatus("NETWORK NAME DELETED", 0xC00000C9);
MagicStatus("NETWORK ACCESS DENIED", 0xC00000CA);
MagicStatus("BAD DEVICE TYPE", 0xC00000CB);
MagicStatus("BAD NETWORK NAME", 0xC00000CC);
MagicStatus("TOO MANY NAMES", 0xC00000CD);
MagicStatus("TOO MANY SESSIONS", 0xC00000CE);
MagicStatus("SHARING PAUSED", 0xC00000CF);
MagicStatus("REQUEST NOT ACCEPTED", 0xC00000D0);
MagicStatus("REDIRECTOR PAUSED", 0xC00000D1);
MagicStatus("NET WRITE FAULT", 0xC00000D2);
MagicStatus("PROFILING AT LIMIT", 0xC00000D3);
MagicStatus("NOT SAME DEVICE", 0xC00000D4);
MagicStatus("FILE RENAMED", 0xC00000D5);
MagicStatus("VIRTUAL CIRCUIT CLOSED", 0xC00000D6);
MagicStatus("NO SECURITY ON OBJECT", 0xC00000D7);
MagicStatus("CANT WAIT", 0xC00000D8);
MagicStatus("PIPE EMPTY", 0xC00000D9);
MagicStatus("CANT ACCESS DOMAIN INFO", 0xC00000DA);
MagicStatus("CANT TERMINATE SELF", 0xC00000DB);
MagicStatus("INVALID SERVER STATE", 0xC00000DC);
MagicStatus("INVALID DOMAIN STATE", 0xC00000DD);
MagicStatus("INVALID DOMAIN ROLE", 0xC00000DE);
MagicStatus("NO SUCH DOMAIN", 0xC00000DF);
MagicStatus("DOMAIN EXISTS", 0xC00000E0);
MagicStatus("DOMAIN LIMIT EXCEEDED", 0xC00000E1);
MagicStatus("OPLOCK NOT GRANTED", 0xC00000E2);
MagicStatus("INVALID OPLOCK PROTOCOL", 0xC00000E3);
MagicStatus("INTERNAL DB CORRUPTION", 0xC00000E4);
MagicStatus("INTERNAL ERROR", 0xC00000E5);
MagicStatus("GENERIC NOT MAPPED", 0xC00000E6);
MagicStatus("BAD DESCRIPTOR FORMAT", 0xC00000E7);
MagicStatus("INVALID USER BUFFER", 0xC00000E8);
MagicStatus("UNEXPECTED IO ERROR", 0xC00000E9);
MagicStatus("UNEXPECTED MM CREATE ERR", 0xC00000EA);
MagicStatus("UNEXPECTED MM MAP ERROR", 0xC00000EB);
MagicStatus("UNEXPECTED MM EXTEND ERR", 0xC00000EC);
MagicStatus("NOT LOGON PROCESS", 0xC00000ED);
MagicStatus("LOGON SESSION EXISTS", 0xC00000EE);
MagicStatus("INVALID PARAMETER 1", 0xC00000EF);
MagicStatus("INVALID PARAMETER 2", 0xC00000F0);
MagicStatus("INVALID PARAMETER 3", 0xC00000F1);
MagicStatus("INVALID PARAMETER 4", 0xC00000F2);
MagicStatus("INVALID PARAMETER 5", 0xC00000F3);
MagicStatus("INVALID PARAMETER 6", 0xC00000F4);
MagicStatus("INVALID PARAMETER 7", 0xC00000F5);
MagicStatus("INVALID PARAMETER 8", 0xC00000F6);
MagicStatus("INVALID PARAMETER 9", 0xC00000F7);
MagicStatus("INVALID PARAMETER 10", 0xC00000F8);
MagicStatus("INVALID PARAMETER 11", 0xC00000F9);
MagicStatus("INVALID PARAMETER 12", 0xC00000FA);
MagicStatus("REDIRECTOR NOT STARTED", 0xC00000FB);
MagicStatus("REDIRECTOR STARTED", 0xC00000FC);
MagicStatus("STACK OVERFLOW", 0xC00000FD);
MagicStatus("NO SUCH PACKAGE", 0xC00000FE);
MagicStatus("BAD FUNCTION TABLE", 0xC00000FF);
MagicStatus("VARIABLE NOT FOUND", 0xC0000100);
MagicStatus("DIRECTORY NOT EMPTY", 0xC0000101);
MagicStatus("FILE CORRUPT ERROR", 0xC0000102);
MagicStatus("NOT A DIRECTORY", 0xC0000103);
MagicStatus("BAD LOGON SESSION STATE", 0xC0000104);
MagicStatus("LOGON SESSION COLLISION", 0xC0000105);
MagicStatus("NAME TOO LONG", 0xC0000106);
MagicStatus("FILES OPEN", 0xC0000107);
MagicStatus("CONNECTION IN USE", 0xC0000108);
MagicStatus("MESSAGE NOT FOUND", 0xC0000109);
MagicStatus("PROCESS IS TERMINATING", 0xC000010A);
MagicStatus("INVALID LOGON TYPE", 0xC000010B);
MagicStatus("NO GUID TRANSLATION", 0xC000010C);
MagicStatus("CANNOT IMPERSONATE", 0xC000010D);
MagicStatus("IMAGE ALREADY LOADED", 0xC000010E);
MagicStatus("ABIOS NOT PRESENT", 0xC000010F);
MagicStatus("ABIOS LID NOT EXIST", 0xC0000110);
MagicStatus("ABIOS LID ALREADY OWNED", 0xC0000111);
MagicStatus("ABIOS NOT LID OWNER", 0xC0000112);
MagicStatus("ABIOS INVALID COMMAND", 0xC0000113);
MagicStatus("ABIOS INVALID LID", 0xC0000114);
MagicStatus("ABIOS SELECTOR NOT AVAILABLE", 0xC0000115);
MagicStatus("ABIOS INVALID SELECTOR", 0xC0000116);
MagicStatus("NO LDT", 0xC0000117);
MagicStatus("INVALID LDT SIZE", 0xC0000118);
MagicStatus("INVALID LDT OFFSET", 0xC0000119);
MagicStatus("INVALID LDT DESCRIPTOR", 0xC000011A);
MagicStatus("INVALID IMAGE NE FORMAT", 0xC000011B);
MagicStatus("RXACT INVALID STATE", 0xC000011C);
MagicStatus("RXACT COMMIT FAILURE", 0xC000011D);
MagicStatus("MAPPED FILE SIZE ZERO", 0xC000011E);
MagicStatus("TOO MANY OPENED FILES", 0xC000011F);
MagicStatus("CANCELLED", 0xC0000120);
MagicStatus("CANNOT DELETE", 0xC0000121);
MagicStatus("INVALID COMPUTER NAME", 0xC0000122);
MagicStatus("FILE DELETED", 0xC0000123);
MagicStatus("SPECIAL ACCOUNT", 0xC0000124);
MagicStatus("SPECIAL GROUP", 0xC0000125);
MagicStatus("SPECIAL USER", 0xC0000126);
MagicStatus("MEMBERS PRIMARY GROUP", 0xC0000127);
MagicStatus("FILE CLOSED", 0xC0000128);
MagicStatus("TOO MANY THREADS", 0xC0000129);
MagicStatus("THREAD NOT IN PROCESS", 0xC000012A);
MagicStatus("TOKEN ALREADY IN USE", 0xC000012B);
MagicStatus("PAGEFILE QUOTA EXCEEDED", 0xC000012C);
MagicStatus("COMMITMENT LIMIT", 0xC000012D);
MagicStatus("INVALID IMAGE LE FORMAT", 0xC000012E);
MagicStatus("INVALID IMAGE NOT MZ", 0xC000012F);
MagicStatus("INVALID IMAGE PROTECT", 0xC0000130);
MagicStatus("INVALID IMAGE WIN 16", 0xC0000131);
MagicStatus("LOGON SERVER CONFLICT", 0xC0000132);
MagicStatus("TIME DIFFERENCE AT DC", 0xC0000133);
MagicStatus("SYNCHRONIZATION REQUIRED", 0xC0000134);
MagicStatus("DLL NOT FOUND", 0xC0000135);
MagicStatus("OPEN FAILED", 0xC0000136);
MagicStatus("IO PRIVILEGE FAILED", 0xC0000137);
MagicStatus("ORDINAL NOT FOUND", 0xC0000138);
MagicStatus("ENTRYPOINT NOT FOUND", 0xC0000139);
MagicStatus("CONTROL C EXIT", 0xC000013A);
MagicStatus("LOCAL DISCONNECT", 0xC000013B);
MagicStatus("REMOTE DISCONNECT", 0xC000013C);
MagicStatus("REMOTE RESOURCES", 0xC000013D);
MagicStatus("LINK FAILED", 0xC000013E);
MagicStatus("LINK TIMEOUT", 0xC000013F);
MagicStatus("INVALID CONNECTION", 0xC0000140);
MagicStatus("INVALID ADDRESS", 0xC0000141);
MagicStatus("DLL INIT FAILED", 0xC0000142);
MagicStatus("MISSING SYSTEMFILE", 0xC0000143);
MagicStatus("UNHANDLED EXCEPTION", 0xC0000144);
MagicStatus("APP INIT FAILURE", 0xC0000145);
MagicStatus("PAGEFILE CREATE FAILED", 0xC0000146);
MagicStatus("NO PAGEFILE", 0xC0000147);
MagicStatus("INVALID LEVEL", 0xC0000148);
MagicStatus("WRONG PASSWORD CORE", 0xC0000149);
MagicStatus("ILLEGAL FLOAT CONTEXT", 0xC000014A);
MagicStatus("PIPE BROKEN", 0xC000014B);
MagicStatus("REGISTRY CORRUPT", 0xC000014C);
MagicStatus("REGISTRY IO FAILED", 0xC000014D);
MagicStatus("NO EVENT PAIR", 0xC000014E);
MagicStatus("UNRECOGNIZED VOLUME", 0xC000014F);
MagicStatus("SERIAL NO DEVICE INITED", 0xC0000150);
MagicStatus("NO SUCH ALIAS", 0xC0000151);
MagicStatus("MEMBER NOT IN ALIAS", 0xC0000152);
MagicStatus("MEMBER IN ALIAS", 0xC0000153);
MagicStatus("ALIAS EXISTS", 0xC0000154);
MagicStatus("LOGON NOT GRANTED", 0xC0000155);
MagicStatus("TOO MANY SECRETS", 0xC0000156);
MagicStatus("SECRET TOO LONG", 0xC0000157);
MagicStatus("INTERNAL DB ERROR", 0xC0000158);
MagicStatus("FULLSCREEN MODE", 0xC0000159);
MagicStatus("TOO MANY CONTEXT IDS", 0xC000015A);
MagicStatus("LOGON TYPE NOT GRANTED", 0xC000015B);
MagicStatus("NOT REGISTRY FILE", 0xC000015C);
MagicStatus("NT CROSS ENCRYPTION REQUIRED", 0xC000015D);
MagicStatus("DOMAIN CTRLR CONFIG ERROR", 0xC000015E);
MagicStatus("FT MISSING MEMBER", 0xC000015F);
MagicStatus("ILL FORMED SERVICE ENTRY", 0xC0000160);
MagicStatus("ILLEGAL CHARACTER", 0xC0000161);
MagicStatus("UNMAPPABLE CHARACTER", 0xC0000162);
MagicStatus("UNDEFINED CHARACTER", 0xC0000163);
MagicStatus("FLOPPY VOLUME", 0xC0000164);
MagicStatus("FLOPPY ID MARK NOT FOUND", 0xC0000165);
MagicStatus("FLOPPY WRONG CYLINDER", 0xC0000166);
MagicStatus("FLOPPY UNKNOWN ERROR", 0xC0000167);
MagicStatus("FLOPPY BAD REGISTERS", 0xC0000168);
MagicStatus("DISK RECALIBRATE FAILED", 0xC0000169);
MagicStatus("DISK OPERATION FAILED", 0xC000016A);
MagicStatus("DISK RESET FAILED", 0xC000016B);
MagicStatus("SHARED IRQ BUSY", 0xC000016C);
MagicStatus("FT ORPHANING", 0xC000016D);
MagicStatus("BIOS FAILED TO CONNECT INTERRUPT", 0xC000016E);
MagicStatus("PARTITION FAILURE", 0xC0000172);
MagicStatus("INVALID BLOCK LENGTH", 0xC0000173);
MagicStatus("DEVICE NOT PARTITIONED", 0xC0000174);
MagicStatus("UNABLE TO LOCK MEDIA", 0xC0000175);
MagicStatus("UNABLE TO UNLOAD MEDIA", 0xC0000176);
MagicStatus("EOM OVERFLOW", 0xC0000177);
MagicStatus("NO MEDIA", 0xC0000178);
MagicStatus("NO SUCH MEMBER", 0xC000017A);
MagicStatus("INVALID MEMBER", 0xC000017B);
MagicStatus("KEY DELETED", 0xC000017C);
MagicStatus("NO LOG SPACE", 0xC000017D);
MagicStatus("TOO MANY SIDS", 0xC000017E);
MagicStatus("LM CROSS ENCRYPTION REQUIRED", 0xC000017F);
MagicStatus("KEY HAS CHILDREN", 0xC0000180);
MagicStatus("CHILD MUST BE VOLATILE", 0xC0000181);
MagicStatus("DEVICE CONFIGURATION ERROR", 0xC0000182);
MagicStatus("DRIVER INTERNAL ERROR", 0xC0000183);
MagicStatus("INVALID DEVICE STATE", 0xC0000184);
MagicStatus("IO DEVICE ERROR", 0xC0000185);
MagicStatus("DEVICE PROTOCOL ERROR", 0xC0000186);
MagicStatus("BACKUP CONTROLLER", 0xC0000187);
MagicStatus("LOG FILE FULL", 0xC0000188);
MagicStatus("TOO LATE", 0xC0000189);
MagicStatus("NO TRUST LSA SECRET", 0xC000018A);
MagicStatus("NO TRUST SAM ACCOUNT", 0xC000018B);
MagicStatus("TRUSTED DOMAIN FAILURE", 0xC000018C);
MagicStatus("TRUSTED RELATIONSHIP FAILURE", 0xC000018D);
MagicStatus("EVENTLOG FILE CORRUPT", 0xC000018E);
MagicStatus("EVENTLOG CANT START", 0xC000018F);
MagicStatus("TRUST FAILURE", 0xC0000190);
MagicStatus("MUTANT LIMIT EXCEEDED", 0xC0000191);
MagicStatus("NETLOGON NOT STARTED", 0xC0000192);
MagicStatus("ACCOUNT EXPIRED", 0xC0000193);
MagicStatus("POSSIBLE DEADLOCK", 0xC0000194);
MagicStatus("NETWORK CREDENTIAL CONFLICT", 0xC0000195);
MagicStatus("REMOTE SESSION LIMIT", 0xC0000196);
MagicStatus("EVENTLOG FILE CHANGED", 0xC0000197);
MagicStatus("NOLOGON INTERDOMAIN TRUST ACCOUNT", 0xC0000198);
MagicStatus("NOLOGON WORKSTATION TRUST ACCOUNT", 0xC0000199);
MagicStatus("NOLOGON SERVER TRUST ACCOUNT", 0xC000019A);
MagicStatus("DOMAIN TRUST INCONSISTENT", 0xC000019B);
MagicStatus("FS DRIVER REQUIRED", 0xC000019C);
MagicStatus("NO USER SESSION KEY", 0xC0000202);
MagicStatus("USER SESSION DELETED", 0xC0000203);
MagicStatus("RESOURCE LANG NOT FOUND", 0xC0000204);
MagicStatus("INSUFF SERVER RESOURCES", 0xC0000205);
MagicStatus("INVALID BUFFER SIZE", 0xC0000206);
MagicStatus("INVALID ADDRESS COMPONENT", 0xC0000207);
MagicStatus("INVALID ADDRESS WILDCARD", 0xC0000208);
MagicStatus("TOO MANY ADDRESSES", 0xC0000209);
MagicStatus("ADDRESS ALREADY EXISTS", 0xC000020A);
MagicStatus("ADDRESS CLOSED", 0xC000020B);
MagicStatus("CONNECTION DISCONNECTED", 0xC000020C);
MagicStatus("CONNECTION RESET", 0xC000020D);
MagicStatus("TOO MANY NODES", 0xC000020E);
MagicStatus("TRANSACTION ABORTED", 0xC000020F);
MagicStatus("TRANSACTION TIMED OUT", 0xC0000210);
MagicStatus("TRANSACTION NO RELEASE", 0xC0000211);
MagicStatus("TRANSACTION NO MATCH", 0xC0000212);
MagicStatus("TRANSACTION RESPONDED", 0xC0000213);
MagicStatus("TRANSACTION INVALID ID", 0xC0000214);
MagicStatus("TRANSACTION INVALID TYPE", 0xC0000215);
MagicStatus("NOT SERVER SESSION", 0xC0000216);
MagicStatus("NOT CLIENT SESSION", 0xC0000217);
MagicStatus("CANNOT LOAD REGISTRY FILE", 0xC0000218);
MagicStatus("DEBUG ATTACH FAILED", 0xC0000219);
MagicStatus("SYSTEM PROCESS TERMINATED", 0xC000021A);
MagicStatus("DATA NOT ACCEPTED", 0xC000021B);
MagicStatus("NO BROWSER SERVERS FOUND", 0xC000021C);
MagicStatus("VDM HARD ERROR", 0xC000021D);
MagicStatus("DRIVER CANCEL TIMEOUT", 0xC000021E);
MagicStatus("REPLY MESSAGE MISMATCH", 0xC000021F);
MagicStatus("MAPPED ALIGNMENT", 0xC0000220);
MagicStatus("IMAGE CHECKSUM MISMATCH", 0xC0000221);
MagicStatus("LOST WRITEBEHIND DATA", 0xC0000222);
MagicStatus("CLIENT SERVER PARAMETERS INVALID", 0xC0000223);
MagicStatus("PASSWORD MUST CHANGE", 0xC0000224);
MagicStatus("NOT FOUND", 0xC0000225);
MagicStatus("NOT TINY STREAM", 0xC0000226);
MagicStatus("RECOVERY FAILURE", 0xC0000227);
MagicStatus("STACK OVERFLOW READ", 0xC0000228);
MagicStatus("FAIL CHECK", 0xC0000229);
MagicStatus("DUPLICATE OBJECTID", 0xC000022A);
MagicStatus("OBJECTID EXISTS", 0xC000022B);
MagicStatus("CONVERT TO LARGE", 0xC000022C);
MagicStatus("RETRY", 0xC000022D);
MagicStatus("FOUND OUT OF SCOPE", 0xC000022E);
MagicStatus("ALLOCATE BUCKET", 0xC000022F);
MagicStatus("PROPSET NOT FOUND", 0xC0000230);
MagicStatus("MARSHALL OVERFLOW", 0xC0000231);
MagicStatus("INVALID VARIANT", 0xC0000232);
MagicStatus("DOMAIN CONTROLLER NOT FOUND", 0xC0000233);
MagicStatus("ACCOUNT LOCKED OUT", 0xC0000234);
MagicStatus("HANDLE NOT CLOSABLE", 0xC0000235);
MagicStatus("CONNECTION REFUSED", 0xC0000236);
MagicStatus("GRACEFUL DISCONNECT", 0xC0000237);
MagicStatus("ADDRESS ALREADY ASSOCIATED", 0xC0000238);
MagicStatus("ADDRESS NOT ASSOCIATED", 0xC0000239);
MagicStatus("CONNECTION INVALID", 0xC000023A);
MagicStatus("CONNECTION ACTIVE", 0xC000023B);
MagicStatus("NETWORK UNREACHABLE", 0xC000023C);
MagicStatus("HOST UNREACHABLE", 0xC000023D);
MagicStatus("PROTOCOL UNREACHABLE", 0xC000023E);
MagicStatus("PORT UNREACHABLE", 0xC000023F);
MagicStatus("REQUEST ABORTED", 0xC0000240);
MagicStatus("CONNECTION ABORTED", 0xC0000241);
MagicStatus("BAD COMPRESSION BUFFER", 0xC0000242);
MagicStatus("USER MAPPED FILE", 0xC0000243);
MagicStatus("AUDIT FAILED", 0xC0000244);
MagicStatus("TIMER RESOLUTION NOT SET", 0xC0000245);
MagicStatus("CONNECTION COUNT LIMIT", 0xC0000246);
MagicStatus("LOGIN TIME RESTRICTION", 0xC0000247);
MagicStatus("LOGIN WKSTA RESTRICTION", 0xC0000248);
MagicStatus("IMAGE MP UP MISMATCH", 0xC0000249);
MagicStatus("INSUFFICIENT LOGON INFO", 0xC0000250);
MagicStatus("BAD DLL ENTRYPOINT", 0xC0000251);
MagicStatus("BAD SERVICE ENTRYPOINT", 0xC0000252);
MagicStatus("LPC REPLY LOST", 0xC0000253);
MagicStatus("IP ADDRESS CONFLICT1", 0xC0000254);
MagicStatus("IP ADDRESS CONFLICT2", 0xC0000255);
MagicStatus("REGISTRY QUOTA LIMIT", 0xC0000256);
MagicStatus("PATH NOT COVERED", 0xC0000257);
MagicStatus("NO CALLBACK ACTIVE", 0xC0000258);
MagicStatus("LICENSE QUOTA EXCEEDED", 0xC0000259);
MagicStatus("PWD TOO SHORT", 0xC000025A);
MagicStatus("PWD TOO RECENT", 0xC000025B);
MagicStatus("PWD HISTORY CONFLICT", 0xC000025C);
MagicStatus("PLUGPLAY NO DEVICE", 0xC000025E);
MagicStatus("UNSUPPORTED COMPRESSION", 0xC000025F);
MagicStatus("INVALID HW PROFILE", 0xC0000260);
MagicStatus("INVALID PLUGPLAY DEVICE PATH", 0xC0000261);
MagicStatus("DRIVER ORDINAL NOT FOUND", 0xC0000262);
MagicStatus("DRIVER ENTRYPOINT NOT FOUND", 0xC0000263);
MagicStatus("RESOURCE NOT OWNED", 0xC0000264);
MagicStatus("TOO MANY LINKS", 0xC0000265);
MagicStatus("QUOTA LIST INCONSISTENT", 0xC0000266);
MagicStatus("FILE IS OFFLINE", 0xC0000267);
MagicStatus("EVALUATION EXPIRATION", 0xC0000268);
MagicStatus("ILLEGAL DLL RELOCATION", 0xC0000269);
MagicStatus("LICENSE VIOLATION", 0xC000026A);
MagicStatus("DLL INIT FAILED LOGOFF", 0xC000026B);
MagicStatus("DRIVER UNABLE TO LOAD", 0xC000026C);
MagicStatus("DFS UNAVAILABLE", 0xC000026D);
MagicStatus("VOLUME DISMOUNTED", 0xC000026E);
MagicStatus("WX86 INTERNAL ERROR", 0xC000026F);
MagicStatus("WX86 FLOAT STACK CHECK", 0xC0000270);
MagicStatus("VALIDATE CONTINUE", 0xC0000271);
MagicStatus("NO MATCH", 0xC0000272);
MagicStatus("NO MORE MATCHES", 0xC0000273);
MagicStatus("NOT A REPARSE POINT", 0xC0000275);
MagicStatus("IO REPARSE TAG INVALID", 0xC0000276);
MagicStatus("IO REPARSE TAG MISMATCH", 0xC0000277);
MagicStatus("IO REPARSE DATA INVALID", 0xC0000278);
MagicStatus("IO REPARSE TAG NOT HANDLED", 0xC0000279);
MagicStatus("REPARSE POINT NOT RESOLVED", 0xC0000280);
MagicStatus("DIRECTORY IS A REPARSE POINT", 0xC0000281);
MagicStatus("RANGE LIST CONFLICT", 0xC0000282);
MagicStatus("SOURCE ELEMENT EMPTY", 0xC0000283);
MagicStatus("DESTINATION ELEMENT FULL", 0xC0000284);
MagicStatus("ILLEGAL ELEMENT ADDRESS", 0xC0000285);
MagicStatus("MAGAZINE NOT PRESENT", 0xC0000286);
MagicStatus("REINITIALIZATION NEEDED", 0xC0000287);
MagicStatus("ENCRYPTION FAILED", 0xC000028A);
MagicStatus("DECRYPTION FAILED", 0xC000028B);
MagicStatus("RANGE NOT FOUND", 0xC000028C);
MagicStatus("NO RECOVERY POLICY", 0xC000028D);
MagicStatus("NO EFS", 0xC000028E);
MagicStatus("WRONG EFS", 0xC000028F);
MagicStatus("NO USER KEYS", 0xC0000290);
MagicStatus("FILE NOT ENCRYPTED", 0xC0000291);
MagicStatus("NOT EXPORT FORMAT", 0xC0000292);
MagicStatus("FILE ENCRYPTED", 0xC0000293);
MagicStatus("WMI GUID NOT FOUND", 0xC0000295);
MagicStatus("WMI INSTANCE NOT FOUND", 0xC0000296);
MagicStatus("WMI ITEMID NOT FOUND", 0xC0000297);
MagicStatus("WMI TRY AGAIN", 0xC0000298);
MagicStatus("SHARED POLICY", 0xC0000299);
MagicStatus("POLICY OBJECT NOT FOUND", 0xC000029A);
MagicStatus("POLICY ONLY IN DS", 0xC000029B);
MagicStatus("VOLUME NOT UPGRADED", 0xC000029C);
MagicStatus("REMOTE STORAGE NOT ACTIVE", 0xC000029D);
MagicStatus("REMOTE STORAGE MEDIA ERROR", 0xC000029E);
MagicStatus("NO TRACKING SERVICE", 0xC000029F);
MagicStatus("SERVER SID MISMATCH", 0xC00002A0);
MagicStatus("DS NO ATTRIBUTE OR VALUE", 0xC00002A1);
MagicStatus("DS INVALID ATTRIBUTE SYNTAX", 0xC00002A2);
MagicStatus("DS ATTRIBUTE TYPE UNDEFINED", 0xC00002A3);
MagicStatus("DS ATTRIBUTE OR VALUE EXISTS", 0xC00002A4);
MagicStatus("DS BUSY", 0xC00002A5);
MagicStatus("DS UNAVAILABLE", 0xC00002A6);
MagicStatus("DS NO RIDS ALLOCATED", 0xC00002A7);
MagicStatus("DS NO MORE RIDS", 0xC00002A8);
MagicStatus("DS INCORRECT ROLE OWNER", 0xC00002A9);
MagicStatus("DS RIDMGR INIT ERROR", 0xC00002AA);
MagicStatus("DS OBJ CLASS VIOLATION", 0xC00002AB);
MagicStatus("DS CANT ON NON LEAF", 0xC00002AC);
MagicStatus("DS CANT ON RDN", 0xC00002AD);
MagicStatus("DS CANT MOD OBJ CLASS", 0xC00002AE);
MagicStatus("DS CROSS DOM MOVE FAILED", 0xC00002AF);
MagicStatus("DS GC NOT AVAILABLE", 0xC00002B0);
MagicStatus("DIRECTORY SERVICE REQUIRED", 0xC00002B1);
MagicStatus("REPARSE ATTRIBUTE CONFLICT", 0xC00002B2);
MagicStatus("CANT ENABLE DENY ONLY", 0xC00002B3);
MagicStatus("FLOAT MULTIPLE FAULTS", 0xC00002B4);
MagicStatus("FLOAT MULTIPLE TRAPS", 0xC00002B5);
MagicStatus("DEVICE REMOVED", 0xC00002B6);
MagicStatus("JOURNAL DELETE IN PROGRESS", 0xC00002B7);
MagicStatus("JOURNAL NOT ACTIVE", 0xC00002B8);
MagicStatus("NOINTERFACE", 0xC00002B9);
MagicStatus("DS ADMIN LIMIT EXCEEDED", 0xC00002C1);
MagicStatus("DRIVER FAILED SLEEP", 0xC00002C2);
MagicStatus("MUTUAL AUTHENTICATION FAILED", 0xC00002C3);
MagicStatus("CORRUPT SYSTEM FILE", 0xC00002C4);
MagicStatus("DATATYPE MISALIGNMENT ERROR", 0xC00002C5);
MagicStatus("WMI READ ONLY", 0xC00002C6);
MagicStatus("WMI SET FAILURE", 0xC00002C7);
MagicStatus("COMMITMENT MINIMUM", 0xC00002C8);
MagicStatus("REG NAT CONSUMPTION", 0xC00002C9);
MagicStatus("TRANSPORT FULL", 0xC00002CA);
MagicStatus("DS SAM INIT FAILURE", 0xC00002CB);
MagicStatus("ONLY IF CONNECTED", 0xC00002CC);
MagicStatus("DS SENSITIVE GROUP VIOLATION", 0xC00002CD);
MagicStatus("PNP RESTART ENUMERATION", 0xC00002CE);
MagicStatus("JOURNAL ENTRY DELETED", 0xC00002CF);
MagicStatus("DS CANT MOD PRIMARYGROUPID", 0xC00002D0);
MagicStatus("SYSTEM IMAGE BAD SIGNATURE", 0xC00002D1);
MagicStatus("PNP REBOOT REQUIRED", 0xC00002D2);
MagicStatus("POWER STATE INVALID", 0xC00002D3);
MagicStatus("DS INVALID GROUP TYPE", 0xC00002D4);
MagicStatus("DS NO NEST GLOBALGROUP IN MIXEDDOMAIN", 0xC00002D5);
MagicStatus("DS NO NEST LOCALGROUP IN MIXEDDOMAIN", 0xC00002D6);
MagicStatus("DS GLOBAL CANT HAVE LOCAL MEMBER", 0xC00002D7);
MagicStatus("DS GLOBAL CANT HAVE UNIVERSAL MEMBER", 0xC00002D8);
MagicStatus("DS UNIVERSAL CANT HAVE LOCAL MEMBER", 0xC00002D9);
MagicStatus("DS GLOBAL CANT HAVE CROSSDOMAIN MEMBER", 0xC00002DA);
MagicStatus("DS LOCAL CANT HAVE CROSSDOMAIN LOCAL MEMBER", 0xC00002DB);
MagicStatus("DS HAVE PRIMARY MEMBERS", 0xC00002DC);
MagicStatus("WMI NOT SUPPORTED", 0xC00002DD);
MagicStatus("INSUFFICIENT POWER", 0xC00002DE);
MagicStatus("SAM NEED BOOTKEY PASSWORD", 0xC00002DF);
MagicStatus("SAM NEED BOOTKEY FLOPPY", 0xC00002E0);
MagicStatus("DS CANT START", 0xC00002E1);
MagicStatus("DS INIT FAILURE", 0xC00002E2);
MagicStatus("SAM INIT FAILURE", 0xC00002E3);
MagicStatus("DS GC REQUIRED", 0xC00002E4);
MagicStatus("DS LOCAL MEMBER OF LOCAL ONLY", 0xC00002E5);
MagicStatus("DS NO FPO IN UNIVERSAL GROUPS", 0xC00002E6);
MagicStatus("DS MACHINE ACCOUNT QUOTA EXCEEDED", 0xC00002E7);
MagicStatus("MULTIPLE FAULT VIOLATION", 0xC00002E8);
MagicStatus("CURRENT DOMAIN NOT ALLOWED", 0xC00002E9);
MagicStatus("CANNOT MAKE", 0xC00002EA);
MagicStatus("SYSTEM SHUTDOWN", 0xC00002EB);
MagicStatus("DS INIT FAILURE CONSOLE", 0xC00002EC);
MagicStatus("DS SAM INIT FAILURE CONSOLE", 0xC00002ED);
MagicStatus("UNFINISHED CONTEXT DELETED", 0xC00002EE);
MagicStatus("NO TGT REPLY", 0xC00002EF);
MagicStatus("OBJECTID NOT FOUND", 0xC00002F0);
MagicStatus("NO IP ADDRESSES", 0xC00002F1);
MagicStatus("WRONG CREDENTIAL HANDLE", 0xC00002F2);
MagicStatus("CRYPTO SYSTEM INVALID", 0xC00002F3);
MagicStatus("MAX REFERRALS EXCEEDED", 0xC00002F4);
MagicStatus("MUST BE KDC", 0xC00002F5);
MagicStatus("STRONG CRYPTO NOT SUPPORTED", 0xC00002F6);
MagicStatus("TOO MANY PRINCIPALS", 0xC00002F7);
MagicStatus("NO PA DATA", 0xC00002F8);
MagicStatus("PKINIT NAME MISMATCH", 0xC00002F9);
MagicStatus("SMARTCARD LOGON REQUIRED", 0xC00002FA);
MagicStatus("KDC INVALID REQUEST", 0xC00002FB);
MagicStatus("KDC UNABLE TO REFER", 0xC00002FC);
MagicStatus("KDC UNKNOWN ETYPE", 0xC00002FD);
MagicStatus("SHUTDOWN IN PROGRESS", 0xC00002FE);
MagicStatus("SERVER SHUTDOWN IN PROGRESS", 0xC00002FF);
MagicStatus("NOT SUPPORTED ON SBS", 0xC0000300);
MagicStatus("WMI GUID DISCONNECTED", 0xC0000301);
MagicStatus("WMI ALREADY DISABLED", 0xC0000302);
MagicStatus("WMI ALREADY ENABLED", 0xC0000303);
MagicStatus("MFT TOO FRAGMENTED", 0xC0000304);
MagicStatus("COPY PROTECTION FAILURE", 0xC0000305);
MagicStatus("CSS AUTHENTICATION FAILURE", 0xC0000306);
MagicStatus("CSS KEY NOT PRESENT", 0xC0000307);
MagicStatus("CSS KEY NOT ESTABLISHED", 0xC0000308);
MagicStatus("CSS SCRAMBLED SECTOR", 0xC0000309);
MagicStatus("CSS REGION MISMATCH", 0xC000030A);
MagicStatus("CSS RESETS EXHAUSTED", 0xC000030B);
MagicStatus("PKINIT FAILURE", 0xC0000320);
MagicStatus("SMARTCARD SUBSYSTEM FAILURE", 0xC0000321);
MagicStatus("NO KERB KEY", 0xC0000322);
MagicStatus("HOST DOWN", 0xC0000350);
MagicStatus("UNSUPPORTED PREAUTH", 0xC0000351);
MagicStatus("EFS ALG BLOB TOO BIG", 0xC0000352);
MagicStatus("PORT NOT SET", 0xC0000353);
MagicStatus("DEBUGGER INACTIVE", 0xC0000354);
MagicStatus("DS VERSION CHECK FAILURE", 0xC0000355);
MagicStatus("AUDITING DISABLED", 0xC0000356);
MagicStatus("PRENT4 MACHINE ACCOUNT", 0xC0000357);
MagicStatus("DS AG CANT HAVE UNIVERSAL MEMBER", 0xC0000358);
MagicStatus("INVALID IMAGE WIN 32", 0xC0000359);
MagicStatus("INVALID IMAGE WIN 64", 0xC000035A);
MagicStatus("BAD BINDINGS", 0xC000035B);
MagicStatus("NETWORK SESSION EXPIRED", 0xC000035C);
MagicStatus("APPHELP BLOCK", 0xC000035D);
MagicStatus("ALL SIDS FILTERED", 0xC000035E);
MagicStatus("NOT SAFE MODE DRIVER", 0xC000035F);
MagicStatus("ACCESS DISABLED BY POLICY DEFAULT", 0xC0000361);
MagicStatus("ACCESS DISABLED BY POLICY PATH", 0xC0000362);
MagicStatus("ACCESS DISABLED BY POLICY PUBLISHER", 0xC0000363);
MagicStatus("ACCESS DISABLED BY POLICY OTHER", 0xC0000364);
MagicStatus("FAILED DRIVER ENTRY", 0xC0000365);
MagicStatus("DEVICE ENUMERATION ERROR", 0xC0000366);
MagicStatus("WAIT FOR OPLOCK", 0x00000367);
MagicStatus("MOUNT POINT NOT RESOLVED", 0xC0000368);
MagicStatus("INVALID DEVICE OBJECT PARAMETER", 0xC0000369);
MagicStatus("MCA OCCURED", 0xC000036A);
MagicStatus("DRIVER BLOCKED CRITICAL", 0xC000036B);
MagicStatus("DRIVER BLOCKED", 0xC000036C);
MagicStatus("DRIVER DATABASE ERROR", 0xC000036D);
MagicStatus("SYSTEM HIVE TOO LARGE", 0xC000036E);
MagicStatus("INVALID IMPORT OF NON DLL", 0xC000036F);
MagicStatus("SMARTCARD WRONG PIN", 0xC0000380);
MagicStatus("SMARTCARD CARD BLOCKED", 0xC0000381);
MagicStatus("SMARTCARD CARD NOT AUTHENTICATED", 0xC0000382);
MagicStatus("SMARTCARD NO CARD", 0xC0000383);
MagicStatus("SMARTCARD NO KEY CONTAINER", 0xC0000384);
MagicStatus("SMARTCARD NO CERTIFICATE", 0xC0000385);
MagicStatus("SMARTCARD NO KEYSET", 0xC0000386);
MagicStatus("SMARTCARD IO ERROR", 0xC0000387);
MagicStatus("DOWNGRADE DETECTED", 0xC0000388);
MagicStatus("SMARTCARD CERT REVOKED", 0xC0000389);
MagicStatus("ISSUING CA UNTRUSTED", 0xC000038A);
MagicStatus("REVOCATION OFFLINE C", 0xC000038B);
MagicStatus("PKINIT CLIENT FAILURE", 0xC000038C);
MagicStatus("SMARTCARD CERT EXPIRED", 0xC000038D);
MagicStatus("DRIVER FAILED PRIOR UNLOAD", 0xC000038E);
MagicStatus("SMARTCARD SILENT CONTEXT", 0xC000038F);
MagicStatus("PER USER TRUST QUOTA EXCEEDED", 0xC0000401);
MagicStatus("ALL USER TRUST QUOTA EXCEEDED", 0xC0000402);
MagicStatus("USER DELETE TRUST QUOTA EXCEEDED", 0xC0000403);
MagicStatus("DS NAME NOT UNIQUE", 0xC0000404);
MagicStatus("DS DUPLICATE ID FOUND", 0xC0000405);
MagicStatus("DS GROUP CONVERSION ERROR", 0xC0000406);
MagicStatus("VOLSNAP PREPARE HIBERNATE", 0xC0000407);
MagicStatus("USER2USER REQUIRED", 0xC0000408);
MagicStatus("STACK BUFFER OVERRUN", 0xC0000409);
MagicStatus("NO S4U PROT SUPPORT", 0xC000040A);
MagicStatus("CROSSREALM DELEGATION FAILURE", 0xC000040B);
MagicStatus("REVOCATION OFFLINE KDC", 0xC000040C);
MagicStatus("ISSUING CA UNTRUSTED KDC", 0xC000040D);
MagicStatus("KDC CERT EXPIRED", 0xC000040E);
MagicStatus("KDC CERT REVOKED", 0xC000040F);
MagicStatus("PARAMETER QUOTA EXCEEDED", 0xC0000410);
MagicStatus("HIBERNATION FAILURE", 0xC0000411);
MagicStatus("DELAY LOAD FAILED", 0xC0000412);
MagicStatus("AUTHENTICATION FIREWALL FAILED", 0xC0000413);
MagicStatus("VDM DISALLOWED", 0xC0000414);
MagicStatus("HUNG DISPLAY DRIVER THREAD", 0xC0000415);
MagicStatus("WOW ASSERTION", 0xC0009898);
MagicStatus("PNP BAD MPS TABLE", 0xC0040035);
MagicStatus("PNP TRANSLATION FAILED", 0xC0040036);
MagicStatus("PNP IRQ TRANSLATION FAILED", 0xC0040037);
MagicStatus("PNP INVALID ID", 0xC0040038);
MagicStatus("CTX WINSTATION NAME INVALID", 0xC00A0001);
MagicStatus("CTX INVALID PD", 0xC00A0002);
MagicStatus("CTX PD NOT FOUND", 0xC00A0003);
MagicStatus("CTX CLOSE PENDING", 0xC00A0006);
MagicStatus("CTX NO OUTBUF", 0xC00A0007);
MagicStatus("CTX MODEM INF NOT FOUND", 0xC00A0008);
MagicStatus("CTX INVALID MODEMNAME", 0xC00A0009);
MagicStatus("CTX RESPONSE ERROR", 0xC00A000A);
MagicStatus("CTX MODEM RESPONSE TIMEOUT", 0xC00A000B);
MagicStatus("CTX MODEM RESPONSE NO CARRIER", 0xC00A000C);
MagicStatus("CTX MODEM RESPONSE NO DIALTONE", 0xC00A000D);
MagicStatus("CTX MODEM RESPONSE BUSY", 0xC00A000E);
MagicStatus("CTX MODEM RESPONSE VOICE", 0xC00A000F);
MagicStatus("CTX TD ERROR", 0xC00A0010);
MagicStatus("CTX LICENSE CLIENT INVALID", 0xC00A0012);
MagicStatus("CTX LICENSE NOT AVAILABLE", 0xC00A0013);
MagicStatus("CTX LICENSE EXPIRED", 0xC00A0014);
MagicStatus("CTX WINSTATION NOT FOUND", 0xC00A0015);
MagicStatus("CTX WINSTATION NAME COLLISION", 0xC00A0016);
MagicStatus("CTX WINSTATION BUSY", 0xC00A0017);
MagicStatus("CTX BAD VIDEO MODE", 0xC00A0018);
MagicStatus("CTX GRAPHICS INVALID", 0xC00A0022);
MagicStatus("CTX NOT CONSOLE", 0xC00A0024);
MagicStatus("CTX CLIENT QUERY TIMEOUT", 0xC00A0026);
MagicStatus("CTX CONSOLE DISCONNECT", 0xC00A0027);
MagicStatus("CTX CONSOLE CONNECT", 0xC00A0028);
MagicStatus("CTX SHADOW DENIED", 0xC00A002A);
MagicStatus("CTX WINSTATION ACCESS DENIED", 0xC00A002B);
MagicStatus("CTX INVALID WD", 0xC00A002E);
MagicStatus("CTX WD NOT FOUND", 0xC00A002F);
MagicStatus("CTX SHADOW INVALID", 0xC00A0030);
MagicStatus("CTX SHADOW DISABLED", 0xC00A0031);
MagicStatus("RDP PROTOCOL ERROR", 0xC00A0032);
MagicStatus("CTX CLIENT LICENSE NOT SET", 0xC00A0033);
MagicStatus("CTX CLIENT LICENSE IN USE", 0xC00A0034);
MagicStatus("CTX SHADOW ENDED BY MODE CHANGE", 0xC00A0035);
MagicStatus("CTX SHADOW NOT RUNNING", 0xC00A0036);
MagicStatus("CLUSTER INVALID NODE", 0xC0130001);
MagicStatus("CLUSTER NODE EXISTS", 0xC0130002);
MagicStatus("CLUSTER JOIN IN PROGRESS", 0xC0130003);
MagicStatus("CLUSTER NODE NOT FOUND", 0xC0130004);
MagicStatus("CLUSTER LOCAL NODE NOT FOUND", 0xC0130005);
MagicStatus("CLUSTER NETWORK EXISTS", 0xC0130006);
MagicStatus("CLUSTER NETWORK NOT FOUND", 0xC0130007);
MagicStatus("CLUSTER NETINTERFACE EXISTS", 0xC0130008);
MagicStatus("CLUSTER NETINTERFACE NOT FOUND", 0xC0130009);
MagicStatus("CLUSTER INVALID REQUEST", 0xC013000A);
MagicStatus("CLUSTER INVALID NETWORK PROVIDER", 0xC013000B);
MagicStatus("CLUSTER NODE DOWN", 0xC013000C);
MagicStatus("CLUSTER NODE UNREACHABLE", 0xC013000D);
MagicStatus("CLUSTER NODE NOT MEMBER", 0xC013000E);
MagicStatus("CLUSTER JOIN NOT IN PROGRESS", 0xC013000F);
MagicStatus("CLUSTER INVALID NETWORK", 0xC0130010);
MagicStatus("CLUSTER NO NET ADAPTERS", 0xC0130011);
MagicStatus("CLUSTER NODE UP", 0xC0130012);
MagicStatus("CLUSTER NODE PAUSED", 0xC0130013);
MagicStatus("CLUSTER NODE NOT PAUSED", 0xC0130014);
MagicStatus("CLUSTER NO SECURITY CONTEXT", 0xC0130015);
MagicStatus("CLUSTER NETWORK NOT INTERNAL", 0xC0130016);
MagicStatus("CLUSTER POISONED", 0xC0130017);
MagicStatus("SXS SECTION NOT FOUND", 0xC0150001);
MagicStatus("SXS CANT GEN ACTCTX", 0xC0150002);
MagicStatus("SXS INVALID ACTCTXDATA FORMAT", 0xC0150003);
MagicStatus("SXS ASSEMBLY NOT FOUND", 0xC0150004);
MagicStatus("SXS MANIFEST FORMAT ERROR", 0xC0150005);
MagicStatus("SXS MANIFEST PARSE ERROR", 0xC0150006);
MagicStatus("SXS ACTIVATION CONTEXT DISABLED", 0xC0150007);
MagicStatus("SXS KEY NOT FOUND", 0xC0150008);
MagicStatus("SXS VERSION CONFLICT", 0xC0150009);
MagicStatus("SXS WRONG SECTION TYPE", 0xC015000A);
MagicStatus("SXS THREAD QUERIES DISABLED", 0xC015000B);
MagicStatus("SXS ASSEMBLY MISSING", 0xC015000C);
MagicStatus("SXS PROCESS DEFAULT ALREADY SET", 0xC015000E);
MagicStatus("SXS EARLY DEACTIVATION", 0xC015000F);
MagicStatus("SXS INVALID DEACTIVATION", 0xC0150010);
MagicStatus("SXS MULTIPLE DEACTIVATION", 0xC0150011);
MagicStatus("SXS SYSTEM DEFAULT ACTIVATION CONTEXT EMPTY", 0xC0150012);
MagicStatus("SXS PROCESS TERMINATION REQUESTED", 0xC0150013);
MagicStatus("SXS CORRUPT ACTIVATION STACK", 0xC0150014);
MagicStatus("SXS CORRUPTION", 0xC0150015);
#endif
